128177c41248734e76499ef382152fd3c40378bd,src/java/org/apache/cassandra/streaming/compress/CompressedFileStreamTask.java,CompressedFileStreamTask,stream,#,58
Before Change
}
else
{
file.seek(section.left);
// NIO is not available. Fall back to normal streaming.
// This happens when inter-node encryption is turned on.
if (transferBuffer == null)
After Change
for (Pair<Long, Long> section : sections)
{
// seek to the beginning of the section when socket channel is not available
if (sc == null)
file.seek(section.left);
// length of the section to stream
long length = section.right - section.left;
// tracks write progress